package edu.cug.water.crawler.job.controller;

import edu.cug.water.crawler.common.utils.Des;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/health")
public class HealthController {

    @RequestMapping("/des")
    public String getDesStr(@RequestParam String data){
        Des des = new Des();
        return des.strEnc(data, "1", "2", "3");
    }
}
